'''
Created on 16/10/2011

@author: nacho
'''

class PC(object):
    '''
    classdocs
    '''


    def __init__(self, baseDir, instrN, pid):
        '''
        Constructor
        '''
        self.baseDir = baseDir
        self.instrNum = instrN
        self.pid = pid
        
    def baseDirection(self):
        
        return self.baseDir
    
    def instrNumber(self):
        
        return self.instrNum
    
    def nextInstruction(self):
        
        self.instrNum += 1
        
    def setBaseDir(self, baseDir):
        
        self.baseDir = baseDir
        
    def setInstrNumber(self, instrN):
        
        self.instrNum = instrN
        
    def setPID(self, pid):
        
        self.pid = pid
        
    def processID(self):
        
        return self.pid
    
    